RTCRangeAudio class Null safety

范围语音接口实例

Constructors

RTCRangeAudio()

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

enableRangeAudio(bool enable) → Future<void>
开启/关闭范围语音功能 [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
registerRangeAudioObserver(RTCRangeAudioObserver? observer) → Future<void>
设置范围语音衰减系数监测器 [...]
setAttenuationModel({required AttenuationType type, required double coefficient}) → Future<int?>
设置范围语音的音量衰减模式 [...]
toString() → String
A string representation of this object. [...]
inherited
updatePosition(Position pos) → Future<int?>
更新本地用户在房间内空间直角坐标系中的位置坐标 [...]
updateReceiveRange(ReceiveRange range) → Future<int?>
更新本地用户的音频收听范围 [...]

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited